@import "./base.scss";

.index-box {
  width: 100vw;
  height: 100vh;
  background: $bg_color;
  position: relative;
  &::after {
    position: absolute;
    bottom: 0.87rem;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    width: 19.2rem;
    height: 9.93rem;
    // opacity: 0.43;
    background: url("../image/bg/storey.png") center center no-repeat;
    background-size: 100%;
  }
  &::before {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 18.12rem;
    height: 2.44rem;
    content: "";
    background: url("../image/bg/gloab.png") center center no-repeat;
    background-size: 100%;
  }
}

.search {
  z-index: 1;
  width: 4.5rem;
  height: 0.65rem;
  border-radius: 0.1rem;
  background-color: #ffffff;
  position: absolute;
  top: 0.4rem;
  right: 5.5rem;

  .search-input {
    position: absolute;
    left: 0;
    border-bottom-left-radius: 0.1rem;
    border-top-left-radius: 0.1rem;

    width: 3.9rem;
    height: 100%;
    padding-left: 0.15rem;
  }
  .input-list {
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 4.5rem;
    height: auto;
    background-color: #f3f3f3;
    // padding: 0.1rem;
    .input-list-item {
      border: 1px solid #ddd; /* 链接添加边框 */
      margin-top: -1px;
      background-color: #f6f6f6;
      padding: 0.12rem;
      text-decoration: none;
      font-size: 0.18rem;
      display: block;

      cursor: pointer;
      &:hover {
        background-color: #eee;
      }
      span {
        display: inline-block;
        padding-left: 0.1rem;
        color: #4e4e4e;
      }
    }
    .input-list-head {
      border: 1px solid #ddd; /* 链接添加边框 */
      margin-top: -1px;
      background-color: #acaaaa;
      padding: 0.12rem;
      text-decoration: none;
      font-size: 0.18rem;
      display: block;
      cursor: pointer;
      &:hover {
        background-color: #eee;
      }
      span {
        color: black;
      }
    }
  }
  .search-logo {
    position: absolute;
    right: 0;
    width: 0.6rem;
    height: 100%;
    background: url("../image/icon/search.png") center center no-repeat;
    background-size: auto;
  }
}

.nav-box {
  z-index: 1;
  width: 4.5rem;
  position: absolute;
  top: 0.65rem;
  right: 0.42rem;
  display: flex;
  justify-content: space-around;
  a {
    font-size: $size_nav;
    color: #ffffff;
    cursor: pointer;
  }
}
.title {
  position: absolute;
  z-index: 1;
  top: 4rem;
  left: 1.2rem;
  height: 3.5rem;
  width: 9.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  &::before {
    position: absolute;
    transform: translateX(-50%);
    top: -2.5rem;
    z-index: 10;
    height: 1.8rem;
    width: 2.4rem;
    content: "";
    display: block;
    background: url("../image/icon/logo.png");
    background-size: 100%;
    left: 50%;
  }
  span {
    &:nth-child(1) {
      background: url("../image//icon/jszx.png") center center no-repeat;
      background-size: 100%;
      width: 9.7rem;
      height: 1.85rem;
    }
    &:nth-child(2) {
      font-size: 0.95rem;
      font-family: MF;
      font-weight: bold;
      color: #b2fdff;
    }
  }
}

.class-box {
  position: absolute;
  z-index: 1;
  width: 4.15rem;
  height: 6.2rem;
  top: 3.1rem;
  right: 0.85rem;
  background: url("../image/icon/anniu.png") center center no-repeat;
  background-size: 100%;
  display: flex;
  flex-direction: column;

  >div{
    cursor: pointer;
    width: 100%;
    height: 2.65rem;

  }
}
